//面包屑
const path = ['仓库管理', '出库管理', {
	label: '采购退货出库列表',
	name: 'purchaseReturnLeaveWarehouse'
}, '列表详情'];
//状态条
const stepOption = {
	activeStep: 0,
	step: [{
			title: '创建退货单',
			description: ''
		},
		{
			title: '已出库',
			description: ''
		}
	]
};
//单号和状态
const tabFormInline = [{
		label: '退货单号',
		value: '',
	},
	{
		label: '单据状态',
		value: '',
	},
];
//采购退货单基础信息
const tableFormInline = [{
		label: '出库单类型',
		value: '',
	},
	{
		label: '出库仓库',
		value: '',
	},
	{
		label: '供应商名称',
		value: ''
	},
	{
		label: '创建人',
		value: ''
	},
	{
		label: '操作人',
		value: ''
	},
	{
		label: '打印次数',
		value: ''
	},
	{
		label: '导出次数',
		value: ''
	}
];
//表头—— 商品明细
const tableHeaderData = [
	{
		prop:'batchNo',
		label:'条码',
		width:''
	},
	{
		prop:'poNumber',
		label:'采购单号',
		width:''
	},
	{
		prop:'goods',
		label:'商品号',
		width:''
	},
	{
		prop:'theStyleNumber',
		label:'款号',
		width:''
	},
	{
		prop:'productCategoryCategory',
		label:'品类',
		width:''
	},
	{
		prop:'description',
		label:'描述',
		width:''
	},
	{
		prop:'netGoldWeight',
		label:'净金重',
		width:''
	},
	{
		prop:'theTotalWeightOfTheProduct',
		label:'产品总重',
		width:''
	},
	{
		prop:'numberOfSecondaryStonesOne',
		label:'副石数量',
		width:''
	},
	{
		prop:'aaa',
		label:'副石总重',
		width:''
	},
	{
		prop:'supplierStatementNo',
		label:'结算单号',
		width:''
	},
	{
		prop:'fff',
		label:'结算金额',
		width:''
	},
	{
		prop:'remark',
		label:'退货原因',
		width:''
	},
	{
		prop:'mainQuantity',
		label:'数量',
		width:''
	},
]
//假数据
const mockData = [{
	exclusiveCode: Math.random().toFixed(4),
}]
//分页
const pager = {
	params: {
		pageIndex: 1,
		pageSize: 10,
	},
	pageTotal: 100,
	pageSizeArr: [10, 20, 30, 40]
};
let Model = {
	data() {
		return {
			Model: {
				queryData: undefined,
				path,
				pager,
				activeTab: '1',
				tabFormInline,						//单号和状态
				tableFormInline,					//领料单基础信息					
				stepOption,							//状态条
				tableHeaderData,					//商品明细（表头）
				leadingin:0,						//默认非手动导入
				materialsTableData:mockData,
				Outofstock:'1',
				detailTableFrom: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab1TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab2TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab2TableDetail2: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab3TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab3TableDetail2: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab4TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
			}
		}
	}
}
export default Model;
